package com.orhon.smartcampus.modules.user.dao;

import org.springframework.stereotype.Component;

import com.orhon.smartcampus.basicComponents.baseDao.BaseDaoImpl;
import com.orhon.smartcampus.modules.user.entity.Users;

@Component
public class UsersDao extends BaseDaoImpl<Users> {

    public String getUserType(Long id){
        Users user = this.get(Users.class, id);
        return user.getUser_type();
    }
}
